/*
 * @Descripttion:
 * @Author: cuidm
 * @Date: 2022-05-25 16:19:56
 * @LastEditors: cuidm
 * @LastEditTime: 2022-09-29 11:35:37
 */
import ResourceIndex from './resourceHomePage';
import ResourceList from './resourceCatalog';
import ResourceDetail from './resourceCatalog/resourceDetail/index';
import ResourceImportTasks from './ResourceImportTasks';
import ResourceImportTasksDetail from './ResourceImportTasks/Detail';
import ResourceAcceptance from './ResourceAcceptance';
import ResourceAcceptanceForm from './ResourceAcceptance/Form';
import ResourceAcceptanceDetail from './ResourceAcceptance/Detail';
// import ResourceTag from './resourceTags/index';
// import BusinessManege from './businessManege/index';
// import BusinessDetail from './businessManege/detail';
// import ResourceMonitor from '../topology/monitorTopology';

const resourceRouterConfig = [
    {
        path: '/resource/catalog',
        exact: true,
        component: ResourceIndex,
    },
    {
        path: '/resource/catalog/list/:id',
        exact: true,
        component: ResourceList,
    },
    {
        path: '/resource/catalog/detail/:id',
        exact: true,
        component: ResourceDetail,
    },
    {
        path: '/resource/import-tasks',
        exact: true,
        component: ResourceImportTasks,
    },
    {
        path: '/resource/import-tasks/detail',
        exact: true,
        component: ResourceImportTasksDetail,
    },
    {
        path: '/resource/acceptance',
        exact: true,
        component: ResourceAcceptance,
    },
    {
        path: '/resource/acceptance/:action(create|edit)',
        exact: true,
        component: ResourceAcceptanceForm,
    },
    {
        path: '/resource/acceptance/detail',
        exact: true,
        component: ResourceAcceptanceDetail,
    },
    // {
    //     path: '/resource/catalog/biz',
    //     exact: true,
    //     component: BusinessManege
    // },
    // {
    //     path: '/resource/catalog/biz/detail/:id',
    //     exact: true,
    //     component: BusinessDetail
    // },
    // {
    //     path: "/resource/tag",
    //     exact: true,
    //     component: ResourceTag,
    // },
    // {
    //     path: '/resource/monitor',
    //     exact: true,
    //     component: ResourceMonitor
    // },
];

export default resourceRouterConfig;
